WP_Defender\Controller\Firewall B

Total Complexity 82
Dependencies 25
Dependents 8
Total lines 717
Lines of code 434
Logical lines of code 202
Comment lines 189
Methods 26
Properties 3

Methods 26

Method Rating Maintainability Complexity Lines of code
maybe_lockout()
A
46 12 38
maybe_extend_mime_types()
A
51 9 24
config_strings()
A
52 8 24
schedule_cleanup_blocklist_ips_event()
S
57 7 17
maybe_show_demo_lockout()
S
49 6 32
export_strings()
S
51 6 26
to_array()
S
52 3 27
actions_for_blocked()
S
54 3 22
__construct()
S
49 2 31
print_emoji_script()
S
61 3 12
save_settings()
S
55 2 22
empty_logs()
S
58 2 18
empty_lockouts()
S
58 2 18
data_frontend()
S
49 1 32
get_summary()
S
58 2 16
enqueue_assets()
S
64 2 10
import_data()
S
69 2 7
extend_mime_types()
S
71 2 6
sync_ip_header()
S
59 1 15
dashboard_activation()
S
61 1 12
clean_up_firewall_logs()
S
82 1 3
remove_data()
S
76 1 4
dashboard_widget()
S
73 1 5
main_view()
S
81 1 3
clean_up_temporary_ip_blocklist()
S
82 1 3
remove_settings()
S
69 1 7